<template>
  <div class="nav">
    <ul>
        <router-link to='/Home' active-class="active" tag="li">
        <i class="iconfont icon-shouye"></i>
        <p>首页</p>
        </router-link>

        <router-link to='/Discount' active-class="active" tag="li">
        <i class="iconfont icon-youhui"></i>
        <p>优惠</p>
        </router-link>

        <router-link to='/Equipment' active-class="active" tag="li">
        <i class="iconfont icon-shoes"></i>
        <p>装备</p>
        </router-link>

        <router-link to='/Center' active-class="active" tag="li">
        <i class="iconfont icon-gerenzhongxin"></i>
        <p>我的</p>
        </router-link>
    </ul>
  </div>
</template>
<script>
export default {};
</script>
<style lang="scss" scoped>
@import "~@/assets/iconfont/iconfont.css";

.nav{
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 1px solid #ccc;
  height: 50px;
  text-align: center;
  background: #fff;
  color: #7a7e83;
  width: 100%; 
  z-index: 999;
  ul {
    display: flex;
    align-items: center;
    li {
      margin-top: 4px;
      flex: 1;
      height: 43px;
      font-size: 15px;
      &.active{
        color: #FE5100;
      }
      p {
        margin-top: 2px;
      }
      i {
        font-size: 20px;
      }
    }
  }
}
</style>